import {useTeamStore} from "@/stores/counter.js"

export function useTeamOps(){

    const teamStore = useTeamStore();

    const teamOptions = teamStore.teamMsg.map(val=>({
        value: val.tId,
        label: val.tName
    }))
    return teamOptions;
}

export function usePowerOps(){
    const powerOptions = [{
        value: 0,
        label: "超管",
    },{
        value: 1,
        label: "经理",
    },{
        value: 2,
        label: "员工",
    }]
    return powerOptions;
}
